Cognitive dysfunction is one of the major contributors to the burden of epilepsy. It can significantly disrupt intellectual development in children and functional status and quality of life in adults. Epilepsy affects cognition through a number of mechanisms in complex interrelationship. Cognitive deficits in epilepsy may be treated indirectly through aggressive seizure control using anti-epileptic drugs or surgery, and by treating comorbid conditions such as depression. The beneficial effects of reducing seizures may offset the adverse cognitive side-effects of these therapies. Direct treatment of cognitive impairment in epilepsy mainly involves memory rehabilitation. Other direct treatments are mostly experimental and their evidence base is currently poor.